package com.kalvan.core.response;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * 渠道返回对象
 *
 * @author chenliang
 */
@Setter
@Getter
public class ChannelResult<T> extends Result<T> implements java.io.Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 交易业务状态
     */
    @NotNull
    private Integer transState;

    /**
     * 渠道返回码
     */
    private String channelCode;
    /**
     * 渠道描述
     */
    private String channelDesc;

}
